package com.cs.contract.domain;

import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.List;


/**
 * @Author：zrx
 * @Package：com.cs.domain
 * @Project：RuoYi-Cloud
 * @name：CsProcurementPlan
 * @Date：2024/11/27 14:32
 * @Filename：CsProcurementPlan
 */
public class CsProcurementPlan extends BaseEntity {
    private static final long serialVersionUID = 1157067683567040007L;
    @Excel(name = "采购计划ID")
    private Integer aid;
    @Excel(name = "采购计划编号")
    private String aCode;
    @Excel(name = "计划名称")
    private String aName;
    @Excel(name = "创建部门")
    private Integer deptId;
    @Excel(name = "附件路径(废弃)")
    private String annex;
    @Excel(name = "采购计划审核意见")
    private String aOpinion;
    @Excel(name = "行项目数量")
    private Integer projectCount;
    @Excel(name = "采购业务类型")
    private Integer typeId;
    @Excel(name = "采购审批状态(1.待提交,2.待审批,3.已生效,4.已寻源)")
    private Integer astate;
    @Excel(name = "附件名称(废弃放在通用附件表中)")
    private String fileName;
    private List<CsLineItems> items;
    private CsPubAttachments file;

    public Integer getAid() {
        return aid;
    }

    public void setAid(Integer aid) {
        this.aid = aid;
    }

    public String getaCode() {
        return aCode;
    }

    public void setaCode(String aCode) {
        this.aCode = aCode;
    }

    public String getaName() {
        return aName;
    }

    public void setaName(String aName) {
        this.aName = aName;
    }

    public Integer getDeptId() {
        return deptId;
    }

    public void setDeptId(Integer deptId) {
        this.deptId = deptId;
    }

    public String getAnnex() {
        return annex;
    }

    public void setAnnex(String annex) {
        this.annex = annex;
    }

    public String getaOpinion() {
        return aOpinion;
    }

    public void setaOpinion(String aOpinion) {
        this.aOpinion = aOpinion;
    }

    public Integer getProjectCount() {
        return projectCount;
    }

    public void setProjectCount(Integer projectCount) {
        this.projectCount = projectCount;
    }

    public Integer getTypeId() {
        return typeId;
    }

    public void setTypeId(Integer typeId) {
        this.typeId = typeId;
    }

    public Integer getAstate() {
        return astate;
    }

    public void setAstate(Integer astate) {
        this.astate = astate;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public List<CsLineItems> getItems() {
        return items;
    }

    public void setItems(List<CsLineItems> items) {
        this.items = items;
    }

    public CsPubAttachments getFile() {
        return file;
    }

    public void setFile(CsPubAttachments file) {
        this.file = file;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("aid", aid)
                .append("aCode", aCode)
                .append("aName", aName)
                .append("deptId", deptId)
                .append("annex", annex)
                .append("aOpinion", aOpinion)
                .append("projectCount", projectCount)
                .append("typeId", typeId)
                .append("astate", astate)
                .append("fileName", fileName)
                .append("items", items)
                .append("file", file)
                .toString();
    }
}
